<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
input {
	margin-bottom: 5px;
	margin-top: 5px;
}
</style>
<script type="text/javascript">
	function fun(){
		var name = $("#name").val();
		var master = $("#master").val();
		$("#ddd").load("${pageContext.request.contextPath}/xiugai?method=banjixg&id=${str.id}&name="+name+"&master="+master);
		$('#id2').dialog('close');
	}
</script>
<div style="text-align: right; width: 240px;">
	班级：<input name="name" value="${str.name}" type="text"><br/>
	班主任：<input name="master" value="${str.master}" type="text"><br/>
	<button type="button" onclick="fun()" class="btn btn-primary btn btn-sm btn-lg bbb">保存</button>
	<button type="reset" style="margin-right: 40px; margin-left: 10px;" class="btn btn-primary btn btn-sm btn-lg bbb">重置</button>
</div>